﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/Front.Master" AutoEventWireup="true"
    CodeBehind="CustomerManage.aspx.cs" Inherits="HSchSchedule.FrontPage.CustomerManage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="mainHolder" runat="server">
    <div>
        <asp:GridView ID="gridViewCustomer" runat="server" OnRowDataBound="gridViewCustomer_RowDataBound"
            AutoGenerateColumns="false">
            <Columns>
                <asp:TemplateField HeaderText="ID">
                    <ItemTemplate>
                        <asp:Label ID="lblCustomerID" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Tên khách hàng">
                    <ItemTemplate>
                        <asp:Label ID="lblCustomerName" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Địa chỉ">
                    <ItemTemplate>
                        <asp:Label ID="lblCustomerAddress" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Điện thoại">
                    <ItemTemplate>
                        <asp:Label ID="lblPhone" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Người liên hệ">
                    <ItemTemplate>
                        <asp:Label ID="lblContactName" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Điện thoại liên hệ">
                    <ItemTemplate>
                        <asp:Label ID="lblContactPhone" runat="server"></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Sửa">
                    <ItemTemplate>
                        <asp:HyperLink ID="hplUpdate" Text="Sửa" runat="server"></asp:HyperLink>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <Columns>
                <asp:TemplateField HeaderText="Xóa">
                    <ItemTemplate>
                        <asp:CheckBox ID="chkDelete" runat="server"></asp:CheckBox>
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
        </asp:GridView>
    </div>
    <div>
    <asp:Button ID="btnAdd" runat="server" Text="Thêm khách hàng mới" OnClick="btnAdd_Click" />
    <asp:Button ID="btnDelete" runat="server" Text="Xóa" OnClick="btnDelete_Click" />
    <asp:Label ID="lblError" runat="server"></asp:Label>
    </div>
</asp:Content>
